package org.pub.app.lunch;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

import android.os.Parcel;
import android.os.Parcelable;

public class QueryData implements Parcelable {
	private String tot_step = null;
	private String dep_city = null;
	private String arr_city = null;
	private String dep_date = null;
	private String arr_date = null;
	private String adult = null;
	private String child = null;
	private String favorCar = null;

	public void writeToParcel(Parcel dest, int flags) {

		dest.writeString(tot_step);
		dest.writeString(dep_city);
		dest.writeString(arr_city);
		dest.writeString(dep_date);
		dest.writeString(arr_date);
		dest.writeString(adult);
		dest.writeString(child);
		dest.writeString(favorCar);
	}

	public int describeContents() {

		return 0;
	}

	public QueryData() {
	}

	public static final Parcelable.Creator<QueryData> CREATOR = new Parcelable.Creator<QueryData>() {

		public QueryData createFromParcel(Parcel in) {
			QueryData query = new QueryData();
			query.tot_step = in.readString();
			query.dep_city = in.readString();
			query.arr_city = in.readString();
			query.dep_date = in.readString();
			query.arr_date = in.readString();
			query.adult = in.readString();
			query.child = in.readString();
			query.favorCar = in.readString();
			return query;
		}

		public QueryData[] newArray(int size) {
			return new QueryData[size];
		}

	};

	public String getTot_step() {
		return tot_step;
	}

	public void setTot_step(String tot_step) {
		this.tot_step = tot_step;
	}

	public String getDep_city() {
		return dep_city;
	}

	public void setDep_city(String dep_city) {
		this.dep_city = dep_city;
	}

	public String getArr_city() {
		return arr_city;
	}

	public void setArr_city(String arr_city) {
		this.arr_city = arr_city;
	}

	public String getDep_date() {
		return dep_date;
	}

	public void setDep_date(String dep_date) {
		this.dep_date = dep_date;
	}

	public String getArr_date() {
		return arr_date;
	}

	public void setArr_date(String arr_date) {
		this.arr_date = arr_date;
	}

	public String getAdult() {
		return adult;
	}

	public void setAdult(String adult) {
		this.adult = adult;
	}

	public String getChild() {
		return child;
	}

	public void setChild(String child) {
		this.child = child;
	}

	public String getFavorCar() {
		return favorCar;
	}

	public void setFavorCar(String favorCar) {
		this.favorCar = favorCar;
	}

	public static Parcelable.Creator<QueryData> getCreator() {
		return CREATOR;
	}

}
